package com.jifeng.br.pjj.bookreader.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jifeng.br.pjj.bookreader.entity.AdEntity;

import java.util.List;

/**
 * <p>
 * 广告表 服务类
 * </p>
 *
 * @author 机蜂
 * @since 2023-07-11
 */
public interface AdService extends IService<AdEntity> {
    IPage<AdEntity> getPage(int page, int limit, AdEntity ad);

    List<AdEntity> getList();
}
